-
Home
-
WooCommerce Square
-
4.2.2
-
Code
-
Classes
- Gift_Card
Total Complexity |
58 |
Dependencies |
10 |
Dependents |
2 |
Total lines |
444 |
Lines of code |
294 |
Logical lines of code |
140 |
Comment lines |
100 |
Methods |
12 |
Properties |
1 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_gift_card_fragments() |
C |
27 |
23 |
164 |
add_gift_card_image_placeholder() |
A |
46 |
8 |
37 |
init_gift_cards() |
S |
61 |
7 |
11 |
enqueue_scripts() |
S |
48 |
5 |
34 |
cart_contains_gift_card() |
S |
62 |
4 |
12 |
apply_gift_card() |
S |
64 |
3 |
9 |
is_new() |
S |
76 |
2 |
3 |
is_load() |
S |
76 |
2 |
3 |
__construct() |
S |
62 |
1 |
11 |
is_gift_card_enabled() |
S |
78 |
1 |
3 |
remove_gift_card() |
S |
76 |
1 |
4 |
delete_sessions() |
S |
80 |
1 |
3 |